package com_djm_2025_05_26.OOP;

public class TestComputer {

    public static void main(String[] args) {
        Computer computer = new Computer("Intel i7","16G","15.6寸");

        System.out.println(computer.toString());

        System.out.println(computer.getCpu());
        System.out.println(computer.screen);
        System.out.println(computer.getMemory());

        computer.boot();
        computer.surfInternet();
        computer.powerOff();
    }
}
